//
//  ViewController.m
//  WaveViewTest
//
//  Created by MorpLCP on 2017/6/15.
//  Copyright © 2017年 yizhan. All rights reserved.
//

#import "ViewController.h"
#import "WaveProgress.h"

@interface ViewController ()

@property (nonatomic, strong) WaveProgress *wView;

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    UIImageView *backImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"yuan"]];
    backImageView.frame = CGRectMake(100, 300, 200, 200);
    [self.view addSubview:backImageView];
    
    _wView = [[WaveProgress alloc] initWithFrame:CGRectMake(100, 300, 200, 200)];
    _wView.value = 0.f;
    [self.view addSubview:_wView];
}

- (IBAction)jd:(UISlider *)sender
{
    _wView.value = sender.value;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
